$.eud.mdm = $.eud.mdm || {};

$.eud.mdm.mdmItem = {
	//基类名字
	pageName:"BaseSimplePage",
	init:function(){
		var me = this;
        var page = $("#mdmItem")[me.pageName]();
	},
	/**
     * 初始化页面事件
     */
    initEvents: function(){
    	var me =this;
    },
    //重载方法
    override:{
    
    },
    data:{
        statusData:[{"itemCode":"1","itemName":"启用"},{"itemCode":"0","itemName":"禁用"}],//启用状态
        itemStatusData:[{"itemCode":"1","itemName":"正常"},{"itemCode":"0","itemName":"冻结"}] 
    },
    formatter:{
        status:function(val,item){
            return $.eud.utils.comboboxFormatter(val, "itemCode","itemName",  $.eud.mdm.mdmItem.data.statusData);
        },
        itemStatus:function(val,item){
        	return $.eud.utils.comboboxFormatter(val, "itemCode","itemName",  $.eud.mdm.mdmItem.data.itemStatusData);
        }
    }
	
};